FirstCharOf
Type
operator
Summary
Designates the first char in Target.
Syntax
the first char of <Target>
Description
Either locates the first char for use as the target container of another operation, or evaluates the first char as the source of another operation.
note
It is an error if Target is empty.
Parameters
Name | Type | Description |
---|---|---|
Target | An expression which evaluates to a string. |
Examples
variable tVar as String
put "char" into tVar
variable tFirst as String
put the first char of tVar into tFirst -- tFirst contains "c"